package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
public class MemberBalanceOperate {

    private Long id;

    private Member member;

    private int operateType;

    private DataDictionaryItem paymentWay;

    private BigDecimal beginMoney;

    private BigDecimal endMoney;

    private BigDecimal money;

    private BigDecimal sendMoney;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date operateDate;

    private Employee employee;

    private String remark;

}